export default [
  {
    path: '',
    component: { render: h => h('i', { class: 'fa fa-fw fa-spinner fa-pulse text-muted' }) },
    meta: { title: '', hidden: true },
  },
  {
    path: 'prelim',
    component: { render: h => h('router-view') },
    meta: { title: '项目立项', hidden: true },
    children: [
      {
        path: '',
        name: 'selfPreliming',
        component: () =>
          import(
            /* webpackChunkName: "city-self-prelim" */ '@/credit/views/city/self/Preliming.vue'
          ),
        meta: { title: '未立项', hidden: true },
      },
      {
        path: 'prelim_pass',
        name: 'selfPrelimPass',
        component: () =>
          import(
            /* webpackChunkName: "city-self-prelim" */ '@/credit/views/city/self/PrelimPass.vue'
          ),
        meta: { title: '已立项', hidden: true },
      },
      {
        path: 'prelim_refuse',
        name: 'selfPrelimRefuse',
        component: () =>
          import(
            /* webpackChunkName: "city-self-prelim" */ '@/credit/views/city/self/PrelimRefuse.vue'
          ),
        meta: { title: '已拒绝', hidden: true },
      },
    ],
  },
  {
    path: 'survey',
    component: { render: h => h('router-view') },
    meta: { title: '调查审批', hidden: true },
    children: [
      {
        path: '',
        name: 'selfSurveying',
        component: () =>
          import(
            /* webpackChunkName: "city-self-survey" */ '@/credit/views/city/self/Surveying.vue'
          ),
        meta: { title: '调查中', hidden: true },
      },
      {
        path: 'survey_apply',
        name: 'selfSurveyApply',
        component: () =>
          import(
            /* webpackChunkName: "city-self-survey" */ '@/credit/views/city/self/SurveyApply.vue'
          ),
        meta: { title: '审批中', hidden: true },
      },
      {
        path: 'survey_pass',
        name: 'selfSurveyPass',
        component: () =>
          import(
            /* webpackChunkName: "city-self-survey" */ '@/credit/views/city/self/SurveyPass.vue'
          ),
        meta: { title: '已通过', hidden: true },
      },
      {
        path: 'survey_refuse',
        name: 'selfSurveyRefuse',
        component: () =>
          import(
            /* webpackChunkName: "city-self-survey" */ '@/credit/views/city/self/SurveyRefuse.vue'
          ),
        meta: { title: '未通过', hidden: true },
      },
    ],
  },
  {
    path: 'contract',
    component: { render: h => h('router-view') },
    meta: { title: '签约放款', hidden: true },
    children: [
      {
        path: '',
        name: 'selfContractIng',
        component: () =>
          import(
            /* webpackChunkName: "city-self-register" */ '@/credit/views/city/self/ContractIng.vue'
          ),
        meta: { title: '待签约', hidden: true },
      },
      {
        path: 'contract_loan',
        name: 'selfContractLoan',
        component: () =>
          import(
            /* webpackChunkName: "city-self-register" */ '@/credit/views/city/self/ContractLoan.vue'
          ),
        meta: { title: '待放款', hidden: true },
      },
      {
        path: 'contract_pass',
        name: 'selfContractPass',
        component: () =>
          import(
            /* webpackChunkName: "city-self-register" */ '@/credit/views/city/self/ContractPass.vue'
          ),
        meta: { title: '已放款', hidden: true },
      },
      {
        path: 'contract_sign',
        name: 'selfContractSign',
        component: () =>
          import(
            /* webpackChunkName: "city-self-register" */ '@/credit/views/city/self/ContractSign.vue'
          ),
        meta: { title: '待签约', hidden: true },
      },
    ],
  },
  {
    path: 'register',
    component: { render: h => h('router-view') },
    meta: { title: '签约放款', hidden: true },
    children: [
      {
        path: '',
        name: 'selfRegisterIng',
        component: () =>
          import(
            /* webpackChunkName: "city-self-register" */ '@/credit/views/city/self/RegisterIng.vue'
          ),
        meta: { title: '待签约', hidden: true },
      },
      {
        path: 'register_loan',
        name: 'selfRegisterLoan',
        component: () =>
          import(
            /* webpackChunkName: "city-self-register" */ '@/credit/views/city/self/RegisterLoan.vue'
          ),
        meta: { title: '待放款', hidden: true },
      },
    ],
  },
  {
    path: 'postloan',
    component: { render: h => h('router-view') },
    meta: { title: '贷后管理', hidden: true },
    children: [
      {
        path: '',
        name: 'selfPostloaning',
        component: () =>
          import(
            /* webpackChunkName: "city-self-postloan" */ '@/credit/views/city/self/Postloaning.vue'
          ),
        meta: { title: '在保项目', hidden: true },
      },
      {
        path: 'postloan_finish',
        name: 'selfPostloanFinish',
        component: () =>
          import(
            /* webpackChunkName: "city-self-postloan" */ '@/credit/views/city/self/PostloanFinish.vue'
          ),
        meta: { title: '解保项目', hidden: true },
      },
      {
        path: 'postloan_abnormal',
        name: 'selfPostloanAbnormal',
        component: () =>
          import(
            /* webpackChunkName: "city-self-postloan" */ '@/credit/views/city/self/PostloanAbnormal.vue'
          ),
        meta: { title: '异常项目', hidden: true },
      },
    ],
  },
]
